MailPoet\Subscribers\SubscriberSubscribeController S

Total Complexity 38
Dependencies 22
Dependents 4
Total lines 267
Lines of code 145
Logical lines of code 103
Comment lines 44
Methods 9
Properties 14

Methods 9

Method Rating Maintainability Complexity Lines of code
subscribe()
A
40 13 54
initCaptcha()
S
56 7 17
validateCaptcha()
S
59 5 16
addTagsToSubscriber()
S
60 3 13
getSegmentIds()
S
62 3 12
getForm()
S
65 3 8
__construct()
S
58 1 16
isSubscribedToAnyFormSegments()
S
69 2 6
deobfuscateFormPayload()
S
80 1 3